package cn.wolfcode.edu.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Getter@Setter@AllArgsConstructor@NoArgsConstructor@ToString
public class ExpenseBook extends BaseDomain{


    private BigDecimal payMoney;//申请支出金额

    private String intro;//支出摘要

    private Employee applyEmp;//申请人

    private SystemDictionaryItem payment;//支出方式

    private String spendType;//支出类型

    private String formNum;//支出单据号

    private ClassGrade belog;//费用花费所属班级

    private Employee auditorEmp;//审核人

    private boolean status=false;//审核状态 默认为false
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd ",timezone="GMT+8")
    private Date applyTime;//申请时间


}